package com.wwp.tbshop.util;

/**
 * Created by user on 2017/6/17.
 */

public class PaymentTypeFormatter {
    //支付类型，1=>货到付款 2=>货到POS机 3=>支付宝(待定)

    public static String format(int type) {
        switch (type) {
            case 1:
                return "货到付款";
            case 2:
                return "货到pos机";
            case 3:
                return "支付宝";
            default:
                return "白送不要钱";
        }
    }
}
